package com.ws.datasync.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "spring.datasource")
public class Cluter {

    List<CluterNoder> cluter;

    public List<CluterNoder> getCluter() {
        return cluter;
    }

    public void setCluter(List<CluterNoder> cluter) {
        this.cluter = cluter;
    }
}
